package com.nondo.rdp.finance.service.setting.home;

import com.nondo.rdp.finance.domain.setting.home.SettingModuleEducation;
import org.springframework.data.domain.Sort;

import java.util.List;

public interface SettingModuleEducationService {
    /**
     * 保存设置模块
     *
     * @param settingModuleEducation
     */
    SettingModuleEducation save(SettingModuleEducation settingModuleEducation);

    /**
     * 根据主键ID删除设置模块
     *
     * @param id
     */
    void delete(Long id);

    /**
     * 根据主键更新设置模块
     *
     * @param settingModuleEducation
     */
    void update(SettingModuleEducation settingModuleEducation);

    /**
     * 根据主键ID查询设置模块
     *
     * @param id
     * @return
     */
    SettingModuleEducation findOne(Long id);

    /**
     * 查询所有数据
     *
     * @return
     */
    List<SettingModuleEducation> findAll(Sort sort);
}
